#! /usr/bin/env bash
alias ppc="powerprofilesctl set"

menu=$(zenity --width 120 --height 320 --list \
              --title="Choose your power..."\
              --column 'Option'\
              Performance\
              Balanced\
              "Power Save")

case $menu in
    "Performance") powerprofilesctl set performance;;
    "Balanced") powerprofilesctl set balanced;;
    "Power Save") powerprofilesctl set power-saver;;
esac
